<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<style>
	.out{
		position: relative;
		width: 300px;
		height: 130px;
		border: 1px solid #bbb;
		padding: 4px;
	}
	img{
		vertical-align: center;
	}
	button{
		background-color: rgba(102,102,102,5);
		position: absolute;
		right: 4px;
		buttom:4px;
	}
</style>
<body>
	<div class="out">
		<img src="img/game.jpg" alt="">

		<button>
			<img src="img/logo-ad.png" alt="">
			<img src="img/close.png">
		</button>

	</div>
	
</body>
<script>
	var out = document.querySelector(".out");

	var btn = document.querySelector("button");

	btn.onclick = function(){
		out.innerHTML = "";
	}	
</script>
</html>